import request from '@/utils/baseapi'
export const channelAPI = () => {
  return request({
    url: '/v1_0/user/channels'
  })
}

export const AllListAPI = () => {
  return request({
    url: '/v1_0/channels'
  })
}
// 封装重置频道的接口
export const resetChannelAPI = (data) => {
  return request({
    url: '/v1_0/user/channels',
    method: 'put',
    data
  })
}
